<?php
/**
 * Key
 * Created by Veyron
 * motto:现在的拼搏 为了更好的明天
 * day:  2020/3/25
 * Time: 16:07
 */

namespace app\common\lib;

class Key
{
    /**
     * 记录存到购物车的 redis key
     * @param $userId
     * @return string
     */
    public static function userCart($userId){
        return config('redis.cart_pre').$userId;
    }
}
